import 'package:thingskit/apiService/ApiService.dart';
import 'package:thingskit/utils/const.dart';

class DeviceApi extends ApiService {
  DeviceApi() : super(thingskitUrl);
  Future<dynamic> getDeviceList() async {
    final response = await getRequest('/admin/statistics');
    if (response == null) {
      return null;
    }
    return response;
  }
}